import request from '@/util/request';

export const getHouse = function(param){
	var url = '/configure/getHouse';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getRepairType = function(param){
	var url = '/configure/getRepairType';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getRepairDetail = function(param){
	var url = '/configure/getRepairDetail';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getHomeNav = function(param){
	var url = '/configure/getHomeNav';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getAdjacentNav = function(param){
	var url = '/configure/getAdjacentNav';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getBanner = function(param){
	var url = '/configure/getBanner';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getOneKey = function(param){
	var url = '/configure/getOneKey';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getShareService = function(param){
	var url = '/configure/getShareService';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getArticle = function(param){
	var url = '/configure/getArticle';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getFreeService = function(param){
	var url = '/configure/getFreeService';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getCaller = function(param){
	var url = '/user/getCaller';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const newsConfig = function(param){
	var url = '/configure/newsConfig';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getNewsType = function(param){
	var url = '/configure/getNewsType';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getTitle = function(param){
	var url = '/configure/getTitle';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getSplash = function(param){
	var url = '/configure/getSplash';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}